<?php
class Util{
	public static function debug($arg){
		global $log;
		ob_start();
		var_dump($arg);
				
		$v=ob_get_contents();
		$log->write('****Debug****\r\nThe arg is-------:'.$v);
		ob_end_clean();
	
	}
	
	public static function formatDate($weibodate){
		
	}
	
	public static function getDate(){
		return date("Y, n, j");
	}
}
?>